﻿using GameView.Comment;

namespace GameView.Services.Dtos.SysLogDto
{
    public class SysLogOutDto
    {
        public int OperateType { get; set; }
        public string OperateTypeStr => OperateType.GetDisplay();

        /// <summary>
        /// 操作人
        /// </summary>
        public string OperateUser { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public string OperateTime { get; set; }

        /// <summary>
        /// 操作描述
        /// </summary>
        public string OperateDescription { get; set; }

        /// <summary>
        /// 模块名称
        /// </summary>
        public string ActionName { get; set; }

        /// <summary>
        /// URL地址
        /// </summary>
        public string RequestUrl { get; set; }

        /// <summary>
        /// IP
        /// </summary>
        public string IP { get; set; }

        /// <summary>
        /// 旧的操作内容
        /// </summary>
        public string OriginalContent { get; set; }

        /// <summary>
        /// 新的操作内容
        /// </summary>
        public string NewContent { get; set; }

        /// <summary>
        /// 操作结果
        /// </summary>
        public string OperateResult { get; set; }

        /// <summary>
        /// 异常信息
        /// </summary>
        public string Exception { get; set; }

        public int Id { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}